projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c40be6
)
Wayland: Set gtk-dialogs-use-header
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 7 Feb 2014 03:51:05 +0000
(22:51 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 7 Feb 2014 03:51:05 +0000
(22:51 -0500)
Since we don't have a setting for this, hardcode the value
for now.
gdk/wayland/gdkscreen-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkscreen-wayland.c
b/gdk/wayland/gdkscreen-wayland.c
index 661ecd9ec0b97028eabbd2551196160d0c34e379..70842962ae0e09e4b16f8999a7d93f077ff241b5 100644
(file)
--- a/
gdk/wayland/gdkscreen-wayland.c
+++ b/
gdk/wayland/gdkscreen-wayland.c
@@
-718,6
+718,12
@@
gdk_wayland_screen_get_setting (GdkScreen *screen,
if (strcmp (name, "gtk-shell-shows-desktop") == 0)
return set_capability_setting (screen, value, GTK_SHELL_CAPABILITY_DESKTOP_ICONS);
+ if (strcmp (name, "gtk-dialogs-use-header") == 0)
+ {
+ g_value_set_boolean (value, TRUE);
+ return TRUE;
+ }
+
return FALSE;
}